//
//  WLUploadTaskCell.h
//  WanLian
//
//  Created by 123456 on 2018/12/8.
//  Copyright © 2018 wanlian. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseTableViewCell.h"
@class WLFileUpDownLoadModel;
typedef void (^PauseOrStartBlock) (BOOL isStart);
typedef BOOL (^CanbeStartBlock)();
NS_ASSUME_NONNULL_BEGIN
@class WLFileUpDownLoadModel;

@interface WLUpDownloadTaskCell : BaseTableViewCell

@property (nonatomic, strong) WLFileUpDownLoadModel *model;
- (void)updateProgressWithProgress:(float)progress;

- (void)updateProgressWithProgress:(float)progress receivedSize:(NSInteger)receivedSize expectedSize:(NSInteger)expectedSize;
- (void)configStartState;
- (void)configStopState;
- (void)updateRealTimeSpeed:(NSString *)netSpeed;
@property (nonatomic, copy) PauseOrStartBlock actionBlock;
@property (nonatomic, copy) CanbeStartBlock canbeStartBlock;
@end

NS_ASSUME_NONNULL_END
